package com.ysjr.baseinterfacelib;

import android.app.Activity;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;

/**
 * -----------------------------------
 * (☆^ー^☆)
 *
 * @author : Ani_aierJun
 * github: https://github.com/aierjun
 * email: aierjun@qq.com
 * create in : 10:50 2019/5/7
 * -----------------------------------
 */


public interface BaseInterface {

    public void attach(Activity context);

    public void onCreate(Bundle savedInstanceState);

    public void onStart();

    public void onResume();

    public void onPause();

    public void onStop();

    public void onRestart();

    public void onDestroy();

    public void onSaveInstanceState(Bundle savedInstanceState);

    public void onBackPressed();

    public boolean onTouchEvent(MotionEvent event);
}
